class Transportes < ActiveRecord::Migration
  def self.up
    create_table 'transportes' do |t|
      t.column :nombre, :string, :null => false, :limit => 128
      t.column :texto,  :string, :null => false, :limit => 512  
      t.column :precio, :float, :null => false, :default => 0
      t.column :orden, :integer, :null => false, :default => 0
      t.column :estado, :string, :null => false
    end
  end
  
  def self.down
    drop_table 'transportes'
  end
end